public class Teacher {
    int teacher_id;
    String name;
    int age;

    public Teacher(int teacher_id, String name, int age){
        this.teacher_id = teacher_id;
        this.name = name;
        this.age = age;
    }

    @Override
    public String toString() {
        return String.format("工号：%d, 姓名：%s, 年龄：%d",
                teacher_id, name, age);
    }
}
